# !/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import socket
import urllib.parse

VERSION_CODE = "__version__"

DOMAIN = "wx.style999.com"
PORT = 8000
XSRF_COOKIES = False

COOKIE_SECRET = "e446976943b4e8442f099fed1f3fea28462d5832f483a0ed9a3d5d3859f==78d"
BASE_DIR = os.path.dirname(os.path.dirname(__file__))

HOST_NAME = socket.gethostname()

LOCAL_HOSTNAME_LIST = ["lijiming", "ubuntu", "mini", "mini.lan", "mini.local", "MacBookPro", "MacBook.local",
                       "MacBook.lan", "MacBook", "bogon", "devserver.style999.com", "iMac.local", "VM-8-10-centos"]
IS_LOCAL = HOST_NAME in LOCAL_HOSTNAME_LIST

if IS_LOCAL:
    DEBUG = True

    # merged qr-code imgages base folder
    NFS_DIR = BASE_DIR

    # Redis
    REDIS_HOST = "db.style999.com"
    REDIS_PORT = 6379
    # REDIS_HOST = "127.0.0.1"
    # REDIS_PORT = 6379
    REDIS_DB = 0
    REDIS_PWD = "[redis.style999.com]"
    REDIS_MAX_CONNECTIONS = 50

    # MongoDB
    MONGODB_CONN_STR = f"mongodb://{urllib.parse.quote_plus('smartsys')}:{urllib.parse.quote_plus('Smartsys@style999.com')}@78.style999.com:27017"
    MONGODB_DATABASE = "ebdb_smartsys"
    # MONGODB_CONN_STR = "mongodb://root:develop.style999.com!@192.168.1.252"
    # MONGODB_DATABASE = "ebdb_smartsys"

    # Mysql
    MYSQL_HOST = 'db.style999.com'
    MYSQL_PORT = 3306
    MYSQL_USER = 'root'
    MYSQL_PWD = '[develop.style999.com]'
    MYSQL_DB = 'ebdb_smartsys'

    # 消息队列信息
    BEANSTALKD_HOST = "db.style999.com"
    BEANSTALKD_PORT = 11300
    BEANSTALKD_TUBE = "pay_check"

    SERVER_ADDR = "10.0.6.155"
    SERVER_PORT = 6007

    MEMBERSHIP_GOODS_ID = "498716026622556"
    TEST_GOODS_ID = "523948088470144"  # 门店测试商品

    # 礼品订单退款超时时间（单位秒）
    GIFT_ORDER_REFUND_TIMEOUT = 86400  # 24小时

    RABBITMQ_HOSTS = "mq.style999.com:5672"
    RABBITMQ_USER = "develop"
    RABBITMQ_PASSWORD = "[develop.style999.com]"
    RABBITMQ_VIRTUAL_HOST = "celery_task_develop"
    # RABBITMQ_VIRTUAL_HOST_SCHEDULER = "celery_host"

    # 实时流量统计
    STATSD_SERVER = "db.style999.com"
    STATSD_PORT = 58125

    MP_APP_ID = "wxab61789682188994"
    MP_APP_SECRET = "db6da66a86cbd6affb98d2abe425ea2e"

    # MP_APP_ID = "wxab61789682188995"
    # MP_APP_SECRET = "f8547518d108ee81b173269267a1c02c"

    USER = "jimmy@style999.com"  # *必填*：飞鹅打印机登录管理后台的账号名
    UKEY = "ZGvhEBJ2aZbbwbK2"  # *必填*: 飞鹅打印机注册账号后生成的UKEY

    WEB_APP_ID = "wxb4f91d73490c288d"
    WEB_APP_SECRET = "debe5ef770e092e3cc92c85fa63b1b93"

    # 第三方广告接口
    AD_APP_ID = "gkK97Cbvbf9K61Ct"
    AD_APP_KEY = "RUKMd8k3uCOSSAlSof9pPvXe5rqD0SRn"
    AD_APP_URL = "http://dev-api6.yixinfa.cn/rtb/subscribe.shtml"
    AD_APP_VERSION = "1.3"
    AD_SLOT_ID1 = "000000096"  # Model: CWD-30E1
    AD_SLOT_ID2 = "000000095"  # Model: CWD-30E2

    DS_APP_URL = "https://ds.style999.com/ds/?access_token=%s&device_id=%s&isneed=no&code=%s"
    DS_ACCESS_TOKEN = "g3tAwJgh0vWv2HjWQ67QWvRSLFXIZ7Hr3vhSWHqH9fZl5ulsOPJKJRJCCufRPLKf_db8ee13195483cc72dc8b2477f39f6380d87c44c"

    COS_HOST = "cos.style999.com"
    COS_APP_ID = "1251902022"
    COS_APP_SECRET_ID = "AKIDlng0mBDxdeGnZWh2mBENPjyqcb0gpnFn"
    COS_APP_SECRET_KEY = "kLbIFfg01m6zbnJU4HvGTVhTHBLoQtOM"
    COS_BUCKET = "style"

    # 美团配送测试环境
    MEITUAN_APP_KEY = "7dd9da0bc1484328a76048f95fb7daa4"
    MEITUAN_APP_SECRET = "j|:{Z]5/|2q?J-#`4HPDiL<O:JL(~w?vJHE*uWJsr4lqu?;>YOI^hB,+w6v(OK^z"

    # 贴子删除权限拥有人: 朱洪波 梁智名 李基明
    POSTS_DELETE_PERMISSION = ["o7qyl0vKx54jB05FjmxNw76SJAPE", "o7qyl0kQ11-oF9RV6__m6t1JVpDk", "o7qyl0i6R30kbFS7KPFVGwYb05pY"]
else:
    DEBUG = False

    SERVER_ADDR = "10.0.6.155"
    SERVER_PORT = 6007

    # merged qr-code images base folder
    NFS_DIR = os.path.dirname('/jfs/project/wechat/')

    # Redis
    REDIS_HOST = "redis.style999.com"
    REDIS_PORT = 6379
    REDIS_DB = 0
    REDIS_PWD = "smart.53iq.com@56iq"
    REDIS_MAX_CONNECTIONS = 50

    # MongoDB
    # MONGODB_CONN_STR = "mongodb://smartsys:Smartsys999.com!@db0.style999.com:27017,db1.style999.com:27017," \
    #                    "db2.style999.com:27017/?replicaSet=cardonly&w=majority&readPreference=secondaryPreferred"
    MONGODB_CONN_STR = f"mongodb://{urllib.parse.quote_plus('smartsys')}:{urllib.parse.quote_plus('Smartsys@style999.com')}@mdb.style999.com:27017"
    MONGODB_DATABASE = "ebdb_smartsys"

    # Mysql
    MYSQL_HOST = 'sql.style999.com'
    MYSQL_PORT = 3306
    MYSQL_USER = 'root'
    MYSQL_PWD = 'CardOnly2017*()'
    MYSQL_DB = 'ebdb_smartsys'

    # 消息队列信息
    BEANSTALKD_HOST = "beanstalk.style999.com"
    BEANSTALKD_PORT = 11300
    BEANSTALKD_TUBE = "pay_check"

    RABBITMQ_HOSTS = "mq.style999.com:5672"
    RABBITMQ_USER = "admin"
    RABBITMQ_PASSWORD = "28806600"
    RABBITMQ_VIRTUAL_HOST = "celery_task_host"
    # RABBITMQ_VIRTUAL_HOST_SCHEDULER = "celery_host"

    # 实时流量统计
    STATSD_SERVER = "statsd.style999.com"
    STATSD_PORT = 58125

    USER = "jimmy@style999.com"  # *必填*：飞鹅打印机登录管理后台的账号名
    UKEY = "ZGvhEBJ2aZbbwbK2"  # *必填*: 飞鹅打印机注册账号后生成的UKEY

    MP_APP_ID = "wxab61789682188994"
    MP_APP_SECRET = "db6da66a86cbd6affb98d2abe425ea2e"

    WEB_APP_ID = "wxb4f91d73490c288d"
    WEB_APP_SECRET = "debe5ef770e092e3cc92c85fa63b1b93"

    AD_APP_ID = "Rl2YcCsmBD7Om6gI"
    AD_APP_KEY = "LFoyNX15wBxEWJwGQu8rhUGMDOS9upVz"
    AD_APP_URL = "http://api6.yixinfa.cn/rtb/subscribe.shtml"
    AD_APP_VERSION = "1.3"
    AD_SLOT_ID1 = "000000135"  # Model: CWD-30E1
    AD_SLOT_ID2 = "000000134"  # Model: CWD-30E2

    DS_APP_URL = "https://ds.style999.com/ds/?access_token=%s&device_id=%s&isneed=no&code=%s"
    DS_ACCESS_TOKEN = "g3tAwJgh0vWv2HjWQ67QWvRSLFXIZ7Hr3vhSWHqH9fZl5ulsOPJKJRJCCufRPLKf_db8ee13195483cc72dc8b2477f39f6380d87c44c"

    COS_HOST = "cos.style999.com"
    COS_APP_ID = "1251902022"
    COS_APP_SECRET_ID = "AKIDlng0mBDxdeGnZWh2mBENPjyqcb0gpnFn"
    COS_APP_SECRET_KEY = "kLbIFfg01m6zbnJU4HvGTVhTHBLoQtOM"
    COS_BUCKET = "style"

    # 美团配送测试环境
    MEITUAN_APP_KEY = "7dd9da0bc1484328a76048f95fb7daa4"
    MEITUAN_APP_SECRET = "j|:{Z]5/|2q?J-#`4HPDiL<O:JL(~w?vJHE*uWJsr4lqu?;>YOI^hB,+w6v(OK^z"
    # 美团配送生产环境
    # MEITUAN_APP_KEY = "505d85847dcb41769a003b9edaea1a42"
    # MEITUAN_APP_SECRET = "Q|omHsZMBICqT_:2iQ.GnBbVy^u`g]va3]hz*}ulaY+Znx&Yqr(i>yO.CEOE3<Eq"


    # 礼品订单退款超时时间（单位秒）
    GIFT_ORDER_REFUND_TIMEOUT = 172800
    MEMBERSHIP_GOODS_ID = "498716026622556"
    TEST_GOODS_ID = "523948088470144"  # 门店测试商品


#######################
# 微信支付相关
MP_MERCHANT_ID = "1480112472"
MP_KEY = "Style4007502999EnjoyStyleInLife9"
MP_TOKEN = "03c636851cb0e60f"
MP_NOTIFY_URL = "https://wx.style999.com/payment/notify"

MP_CERT = """-----BEGIN CERTIFICATE-----
MIID9TCCAt2gAwIBAgIUNgrM7v2yKC+K+pJd5N9LlEbqGMYwDQYJKoZIhvcNAQEL
BQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT
FFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg
Q0EwHhcNMjAwNTE4MDczNzQyWhcNMjUwNTE3MDczNzQyWjCBhjETMBEGA1UEAwwK
MTQ4MDExMjQ3MjEbMBkGA1UECgwS5b6u5L+h5ZWG5oi357O757ufMTIwMAYDVQQL
DCnmgJ3ovr7lsJQo5rex5ZyzKeWunuS4muWPkeWxleaciemZkOWFrOWPuDELMAkG
A1UEBgwCQ04xETAPBgNVBAcMCFNoZW5aaGVuMIIBIjANBgkqhkiG9w0BAQEFAAOC
AQ8AMIIBCgKCAQEAxX2AZw5zPAJ3J/uUK9eFEnH2j15hWZKzArybTmERh7Z9PyeU
u+wEKTg+EGjMm3SQTjX62q4MPCHJUjDR2nY3+UCaK6AdQ1GkGGO9oVRWxhnxLWLX
xzHYwoe9zM/ak6x2aD0IThKyjkp5JJ4qJb09oPFJ3acn3TZBC8/s6htqcmJKGW3z
NFtJeTB/D1m/pWgWbyj9JXYszcC+MVtP/Dy4GiGFwIqsdaULt34Hd7RdTbIDrKQ8
Cr7VV8GYS/KktKPUGi5q0BTp9W7JCTBwYgmSdCZreMBkgLMgEPJUHGB6QO/ADQXq
CuRjZ6sydMVjLWMnFyh/nb/7Hy1c5ZyR7elhKwIDAQABo4GBMH8wCQYDV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69c
z/8Yi0wv73CCqKfzBjEIxXJ9MBYlu2dp6/EFzjluqZ0ZKH/4RPcwYGgt1aPIdjdw
Jb6nLBXUPYWo+GVZEevttoM=
-----END PRIVATE KEY-----"""
#######################

# 厂商、合伙人标识信息
FACTORY_ID = 39
FACTORY_UID = "d3ca2098-3a03-11e7-be32-00a0d1edbe70"
FACTORY_PID = "d3ca20983a0311e7be3200a0d1edbe70"
DEFAULT_AGENCY_ID = 106
DEFAULT_AGENCY_UID = "3db7d3ec-4157-11e7-b900-00a0d1ed4d50"

# 服务
SMARTSYS_SYNC = "/rpc/smartsys/sync/1"  # 文件同步服务
SMARTSYS_NOTIFY = "/rpc/smartsys/notify/1"  # 消息通知服务
SMARTSYS_IMG = "/rpc/smartsys/img/1"  # 图片处理服务
SMARTSYS_VIDEO = "/rpc/smartsys/video/1"  # 视频处理服务
WECHAT_IMG_ZIP = "/rpc/smartsys/img/1"
NOTIFY_ZIP = '/rpc/smartsys/notify/1'


#######################
# 短信配置
SMS_CODE_EXPIRES_SECONDS = 120  # 短信验证码有效期： 秒
TEMP_ID = 194141  # 手机短信模板ID
APP_ID = "8a216da85d7dbf78015d7e486b6100ca"  # 手机短信应用ID

#######################
# 其它
# 线程池最大线程数
MAX_WORKERS = 99
# 提现到微信是否需要审核
CASH_WECHAT_IS_NEED_CHECK = False
# 余额是否参与计算收益
IS_CALCULATE_BALANCE_BENEFIT = False
# 余额当现金使用（内供订单/订货订单可用余额）
IS_BALANCE_AS_CASH = False
# 取消已支付的订单时退款是否需要审核
CANCEL_PAID_ORDER_IS_NEED_CHECK = True

# 收货后自动完成订单的天数
DAYS_AFTER_RECEIVED_FOR_AUTO_COMPLETION = 0
# 发货后自动收货的天数
DAYS_AFTER_SHIPPED_FOR_AUTO_COMPLETION = 7

# 模版消息公共接收方: 李基明，公司账户，朱雨涵，董学振
COMMON_NOTICE_RECEIVER = ["o7qyl0i6R30kbFS7KPFVGwYb05pY", "o7qyl0u7E9dzAUoeT4Ps7-ZvT_ao",
                          "o7qyl0nTM6vkG6THea7bOj22nguw", "o7qyl0gdMjKGsR6tRkJnHMxCEzJM"]

# 贴子删除权限拥有人: 李基明，公司账户，梁智名，董学振
POSTS_DELETE_PERMISSION = ["o7qyl0i6R30kbFS7KPFVGwYb05pY", "o7qyl0u7E9dzAUoeT4Ps7-ZvT_ao",
                           "o7qyl0kQ11-oF9RV6__m6t1JVpDk", "o7qyl0gdMjKGsR6tRkJnHMxCEzJM"]

# 9.9体验商品编号
TI_YAN_GOODS_ID = "574237577133780"
TI_YAN_QUOTA = 9  # 推荐成交订单指标

# 快递100接口配置
KUAIDI100_CUSTOMER = "A9B8DB6657A50F44A37661CA9316CB34"
# 物流公司-快递100编码
EXPRESS_LIST = [
    {
        "id": "debangwuliu",
        "name": "德邦快递"
    },
    {
        "id": "jd",
        "name": "京东快递"
    },
    {
        "id": "kuayue",
        "name": "跨越速运"
    },
    {
        "id": "annengwuliu",
        "name": "安能物流"
    },
    {
        "id": "shunfeng",
        "name": "顺丰快递"
    },
    {
        "id": "yuantong",
        "name": "圆通快递"
    },
    {
        "id": "shentong",
        "name": "申通快递"
    },
    {
        "id": "youzhengguonei",
        "name": "邮政快递"
    },
    {
        "id": "ems",
        "name": "EMS快递"
    },
    {
        "id": "zhongtong",
        "name": "中通快递"
    },
    {
        "id": "baishiwuliu",
        "name": "百世快递"
    },
    {
        "id": "tiantian",
        "name": "天天快递"
    },
    {
        "id": "zhaijisong",
        "name": "宅急送"
    },

    {
        "id": "ziqu",
        "name": "自取"
    },
    {
        "id": "huolala",
        "name": "货拉拉"
    },
    {
        "id": "zhongtie",
        "name": "中铁物流"
    },
]

# 超级事业部=市场部 李基明 董学振 庄圣洋 雷静  刘崇溶
SUPER_AGENCY_ID = [119, 128, 1727, 2481, 6240]

# 模版消息编号配置
TM_NEW_ORDER = "dh-8U4QDtJCqjvYuKLmXmiboo89vIxUcN6D96Qgk5Yw"          # 新订单提醒 OPENTM416739152        订单编号/下单时间/商品名称/配送地址
TM_ORDER_PAY_SUCCESS = "9hPFf-N0VjONPjR3VoRCTOtyqCWM-0Kncq5fXZvcu0w"  # 订单支付成功提示 OPENTM207777974   订单编号/支付时间/支付金额
TM_BUY_SUCCESS = "BeBtcmxYV9FNVmS6DtkChDrACjHVXVmGD7vhVgWuNqs"        # 购买成功通知 OPENTM407297013      商品名称/消费金额/购买时间
TM_GROUPON = "W6z6r6DchsAJra-ultk-ePrEBTAGg2_rNg8tdOmhaX4"            # 拼团结果提醒 OPENTM414768654
TM_ORDER_SHIPPED = "MOPJTXbAJP8NjGuPD24R-nh9wKEbmEyqAU5tNVF6pOg"      # 订单发货提醒 OPENTM200565259
TM_ORDER_CANCELLED = "KYdrkX4CdMzMCi91C6uOEdckI7qWxGoKWWRG3weWk68"    # 订单取消通知 TM00850
TM_REFUND_APPLICATION= "3roQSlZDAM9s9F2yVBbtUGPEyyj3XsRv_w1eFSN5lEk"  # 退货申请提醒 OPENTM204146731
TM_REFUND_APPROVAL = "6-P5c1PNi_h4_cGJAhFaOPANs07LlYqgf5JKALjHqig"    # 退货审核通知 OPENTM203847595
TM_SUBSCRIBE_SUCCESS = "Idh0QdPEd34EJfb3it2b7yGuQicvcSTiKa6VtJdIlRU"  # 关注成功通知 OPENTM405896778
TM_JOIN_SUCCESS = "Vq49nFWIPNZoQvjSIbnOOrqjQaXRR8LfWqqTPF5V5_I"       # 加盟成功通知 OPENTM412076205
TM_NUMBER_REMIND = "jYA9CXyADtmeoXl8DKy_0IxyRFVO05_lvmB0XaJKBtQ"      # 编号领取提醒 OPENTM202459021
TM_REWARDED = "kXTCFljDWVpi7Pwu1w9y6cZdYn51AaUVhlkYE27nMQE"           # 返利到帐提醒 OPENTM201353202
TM_BENEFITED = "lpmLA-fh-b1bbdVPBWbsx_Q3ntMW1pjAEvMXhWyrapA"          # 合伙人结算通知 OPENTM203234750
TM_BENEFIT_NOTICE = "mgG5dXKHs6G1dHSoOKctrmq9XMB4bKfY5gAko5nPKEg"     # 收益提醒 OPENTM401039541
TM_BALANCE_SUCCESS = "wmymrTtFwkWToNrERnv1NwJDbic_XPGQv92AnOLICfg"    # 充值成功提醒 OPENTM205041253
TM_LUCKY_DRAW = "TaMDHjSrhfqVaAC7ayW8_Fjs7mixUyb2mV-Tt0v1ApQ"         # 中奖结果通知 OPENTM411984357
TM_GIFT_APPLICATION = "q-W47zyYcFMoiO2vXrmHyAu6cFbSuePOuJwDpzoedzo"   # 申领成功通知 OPENTM417729865

# 店主攻略图片ID
SHOP_GUIDE_MEDIA_ID = "eAhVobNVggBnmUTnnaUUI3nnXyzbu_e6wdzE9_jPo5gsJcVBH29-oZWzpVRUL15z"

# Redis Key
UPDATE_USER_INFO_START_TIME = "style_update_user_info_start_time"

# 是否订单支付后锁定用户
LOCK_USER_AGENCY_ON_ORDER_PAID = True
